<!-- 评论输入框 -->

<form id="commFormId_{$vo.id}" name="commForm" onsubmit="" onkeydown="if(event.ctrlKey&&event.keyCode==13) { return saveCommInIndexPage(this.id, 'tipErrorInfo_{$vo.id}', '{$vo.id}', 'sbmBtn_{$vo.id}'); }">
 
    <!-- 文章的ID-->
    <input type="hidden" value="{$vo.id}" name="comm_id" id="commentId_{$vo.id}"> 
    <!-- 设置session的值到hidden里，在滚动下一页中需要用到，评论时候也用到-->
    <!--    登录用户的信息 用户名  用户头像  用户的主页 -->
    <input type="hidden" value="{$_SESSION['WEIBOUSERINFO']['wbusername']}" name="wbusername" id="wbusername_{$vo.id}">
    <input type="hidden" value="{$_SESSION['WEIBOUSERINFO']['wbuserheadpic']}" name="wbuserheadpic" id="wbuserheadpic_{$vo.id}">
    <input type="hidden" value="{$_SESSION['WEIBOUSERINFO']['wbuserwebsite']}" name="wbuserwebsite" id="wbuserwebsite_{$vo.id}">

    <div class="form-group col-md-12" style="padding-left: 5px; padding-right: 5px;" id="content_fromGroup_{$vo.id}">
        <!--<label for="exampleInputFile">File input</label>-->
        <textarea class="form-control" rows="3" 
            placeholder="请输入评论内容……" name="content" id="content_{$vo.id}"></textarea>
        <p class="help-block smaller-500-no-show">用快捷键<font color="greeen" style="font-weight:bold;">Ctrl+Enter</font>也可以提交哦！</p>
        <font id="tipErrorInfo_{$vo.id}"></font>
    </div>

  <div class="form-group col-md-12 smaller-500-style" style="margin-top: -20px; padding-left: 5px;">
      <button type="button" id="sbmBtn_{$vo.id}" class="btn btn-sm btn-success" style="padding: 5px; height: 29px;" 
        onclick="return saveCommInIndexPage(this.id, 'tipErrorInfo_{$vo.id}', '{$vo.id}', 'sbmBtn_{$vo.id}'); ">&nbsp;&nbsp;&nbsp;&nbsp;回&nbsp;&nbsp;复&nbsp;&nbsp;&nbsp;&nbsp;</button>
      <button type="button" id="cansel" class="btn btn-sm btn-default" style="padding: 5px; height: 29px;" 
        onclick="return cancelComment('{$vo.id}');">&nbsp;&nbsp;&nbsp;&nbsp;取&nbsp;&nbsp;消&nbsp;&nbsp;&nbsp;&nbsp;</button>
  </div>
</form>

	
	